<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="css/bootstrap.3.3.7.min.css">
    <link rel="stylesheet" href="css/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="css/popup.css">
    <link rel="stylesheet" href="js/dialog/skins/opera.css">

    <style>
        .aui_title {
            font-size: 14px !important;
        }
        .aui_main {
            max-width: 250px !important;
            font-size: 13px !important;
        }
        .aui_content {
            padding: 15px 19px;
        }
    </style>
</head>
<body>

   <div class="container-fluid">
       <div class="content-body">
           <div class="_tabs">
               <ul class="nav nav-tabs">
                   <li role="presentation" class="active" data-name="player">
                       <a href="#"><span class="fa fa-play-circle-o"></span> 播放</a>
                   </li>
                   <li role="presentation" data-name="insert">
                       <a href="#"><span class="fa fa-plus-square-o"></span> 添加</a>
                   </li>
                   <li role="presentation" data-name="config">
                       <a href="#"><span class="fa fa-cog"></span> 设置</a>
                   </li>
                   <li role="presentation" data-name="info">
                       <a href="#"><span class="fa fa-info-circle"></span> 关于</a>
                   </li>
               </ul>
           </div>
           <section class="tab-box" data-name="player">
               <ul class="playlist" >

               </ul>
           </section>
           <section class="tab-box" data-name="insert" style="display: none;">
               <div class="insert-player">
                   <div class="insert-common">
                       <div class="form-group">
                           <label>添加类型</label>
                           <div>
                               <label class="radio-inline">
                                   <input class="insert-genre" type="radio" name="genre" value="url" vf-bind="genre" vf-rule="require" vf-msg="请选择添加类型" checked> 文章阅读
                               </label>
                               <label class="radio-inline">
                                   <input class="insert-genre" type="radio" name="genre" value="text" > 文本阅读
                               </label>
                           </div>
                       </div>
                   </div>

                   <div class="insert-url">
                       <div class="form-group">
                           <label>文章url</label>
                           <input type="text" id="source_url_tips" class="form-control" vf-bind="source_url" vf-rule="require|url" vf-msg="请填写文章url" placeholder="目标文章url地址">
                           <label class="control-label" for="source_url_tips" style="margin-top: 8px;">
                               <small class="text-warning">
                                   目前支持<a href="#">微信公众号</a>、
                                   <a href="#" class="_target_url" data-url="http://daily.zhihu.com/">知乎日报</a>、
                                   <a href="#" class="_target_url" data-url="https://36kr.com/information/web_news">36氪</a>、
                                   <a href="#" class="_target_url" data-url="https://www.huxiu.com/article">虎嗅</a> 、
                                   <a href="#" class="_target_url" data-url="https://www.guokr.com/">果壳</a>、
                                   <a href="#" class="_target_url" data-url="https://www.jianshu.com/">简书</a>文章
                               </small>
                           </label>
                       </div>
                   </div>

                   <div class="insert-text" style="display:none;">
                       <div class="form-group">
                           <label>文本标题</label>
                           <input type="text" class="form-control" vf-bind="title" vf-rule="require" vf-msg="请填写文本标题" placeholder="文本标题">
                       </div>
                       <div class="form-group">
                           <label>文本内容</label>
                           <textarea class="form-control" rows="6" vf-bind="source_text" vf-rule="require" vf-msg="请填写文本内容" placeholder="阅读文本内容"></textarea>
                       </div>
                   </div>

                   <div class="_btnbox">
                       <button type="button" class="btn btn-block btn-success btn-sm btn-confirm">确认添加</button>
                   </div>
               </div>
           </section>

           <section class="tab-box" data-name="config" style="display: none;">
               <div class="insert-config">
                   <div class="form-group">
                       <label>发音人</label>
                       <select class="form-control" vf-bind="voice_name">
                           <option value="aixia" selected>艾夏[亲和女声]</option>
                           <option value="aiqi">艾琪[温柔女声]</option>
                           <option value="aijia">艾佳[标准女声]</option>
                           <option value="siqi">思琪[温柔女声]</option>
                           <option value="aibao">艾宝[萝莉女声]</option>
                           <option value="siyue">思悦[温柔女声]</option>
                           <option value="aida">艾达[标准男声]</option>
                           <option value="aicheng">艾诚[标准男声]</option>
                           <option value="sicheng">思诚[标准男声]</option>
                       </select>
                   </div>
                   <div class="form-group">
                       <label>朗读速度</label>
                       <select class="form-control" vf-bind="speed">
                           <option value="normal" selected>正常</option>
                           <option value="faster">较快</option>
                           <option value="slower">较慢</option>
                           <option value="fast">快</option>
                           <option value="slow">慢</option>
                       </select>
                   </div>
                   <div class="form-group">
                       <label>播放前提示音</label>

                       <div>
                           <label class="radio-inline">
                               <input type="radio" name="plays_sound" vf-bind="plays_sound" value="1" checked> 开启
                           </label>
                           <label class="radio-inline">
                               <input type="radio" name="plays_sound" value="2"> 关闭
                           </label>
                       </div>
                   </div>
               </div>

               <div class="_btnbox">
                   <button type="button" class="btn btn-block btn-success btn-sm btn-confirm-config">保存设置</button>
               </div>
           </section>
            

           <section class="tab-box" data-name="info" style="display: none;">

               <div class="_info" style="padding: 10px 5px;">
                   <blockquote>
                       <p style="font-size: 14px;">插件目前仅为测试版。</p>
                       <p style="font-size: 14px;">插件更新及bug修复会及时发布在<mark>github</mark>、<mark>码云</mark>上，请注意关注。</p>
                       <p style="font-size: 14px;">如有功能建议或使用过程出现bug，可以通过以下几种方式告知：</p>
                       <p style="font-size: 14px;">1.通过邮件 <mark>wangxin8@foxmail.com</mark> 通知我</p>
                       <p style="font-size: 14px;">2.在<mark>码云</mark>提交点评或<mark>github</mark>提交Issues</p>
                       <footer> 您需要知道</footer>
                   </blockquote>

                   <blockquote style="padding: 3px 20px;">
                       <p style="font-size: 14px;"><a href="#" class="_target_url" data-url="https://github.com/wxbool/listen-say-google-extend">https://github.com/wxbool/listen-say-google-extend</a></p>
                       <footer> github</footer>
                   </blockquote>
                   <blockquote style="padding: 3px 20px;">
                       <p style="font-size: 14px;"><a href="#" class="_target_url" data-url="https://gitee.com/641453620/listen-say-google-extend">https://gitee.com/641453620/listen-say-google-extend</a></p>
                       <footer> 码云</footer>
                   </blockquote>
               </div>

           </section>

           <div class="player-boot">
               <div class="info">
                   pause
               </div>

               <div class="_operate">
                   <label class="_waiting"></label>&nbsp;
                   <span class="_start fa fa-play" title="播放"></span>
                   <span class="_stop fa fa-pause-circle-o" title="暂停" style="display:none;"></span>
               </div>
           </div>
       </div>
   </div>
</body>

<script src="js/jquery/jquery.min.js"></script>
<script src="js/app/databind-1.1.4.min.js"></script>
<script src="js/dialog/jquery.artDialog.js"></script>
<script src="js/dialog/plugins/iframeTools.js"></script>
<script src="js/app/common.js"></script>
<script src="js/app/voicetts.js"></script>
<script src="js/app/storage.js"></script>
<script src="js/popup.js"></script>
</html>